/**
* 项目一户式预览页面
*/
<template>
  <ProjectPreYhsPanel v-bind="query" />
</template>

<script setup name="ProjectYhsPreviewView">
import ProjectPreYhsPanel from '@/components/form/business/ProjectPreYhsPanel.vue'

// 一户式的表单ID
const formIdCons = {
  // 专项
  'sp': '145EFEE25B5F4CF5B6A22C2A47820A52',
  // 一般
  'ge': 'F4F5E718C2444204B2059E50D8C25AF7',
  // 备选
  'st': '5FD8F682CD8446DEA55D4AD3DA7D3909'
}

// ----- 路由相关操作
// 当前路由
const route = useRoute()
// 参数信息
const query = ref({
  ...route.query,
  formId: formIdCons[route.query.type]
})

</script>

<style lang="scss" scoped>
</style>